﻿namespace com.vs.DataAccess
{
    using System;

    [Serializable]
    public class DatabaseInformation
    {
        private string _connectionString;
        private const string _DATA_SOURCE = "Data Source";
        private string _dbType;
        private string _envName;
        private bool _traceSql;

        public DatabaseInformation(string envName)
        {
            this._envName = envName;
            this.InitializeDefault();
        }

        private void InitializeDefault()
        {
            this._connectionString = "Data Source=vpang;Initial Catalog=XWMS;User ID=sa;Password=manh1234;Pooling=False";
            this._dbType = "#SqlServer";
        }

        private void InitializeEnvironment(string envName)
        {
        }

        public string ConnectionString
        {
            get
            {
                return this._connectionString;
            }
        }

        public string DbType
        {
            get
            {
                return this._dbType;
            }
        }
    }
}

